package com.hksj.Intelligentmanagement.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class CallUserDTO extends BaseDTO {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("护工名称")
    @NotBlank(message = "护工名称不能为空")
    private String name;

    @ApiModelProperty("工号")
    @NotBlank(message = "工号不能为空")
    private String employeeNo;

    @ApiModelProperty("性别 0 = 女 1 = 男")
    @NotNull(message = "性别不能为空")
    private Integer sex;

    @ApiModelProperty("人员类型")
    @NotBlank(message = "人员类型不能为空")
    private String typeName;

    @ApiModelProperty("人员类型id")
    @NotBlank(message = "人员类型Id不能为空")
    private String typeId;

    @ApiModelProperty("手环登录码")
    private String devicePassword;

    @ApiModelProperty("人员状态")
    @NotNull(message = "状态不能为空")
    private Integer state;

    @ApiModelProperty("备注")
    private String remark;
}
